<?php

namespace App\Http\Controllers\Test;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

/**
 * TestController
 *
 * @package App\Http\Controllers
 * @license [http://www.85do.com] [杭州永奥网络科技有限公司]
 * @copyright Copyright (c) 2018-2026 Hangzhou Yongao Technology Co., Ltd. All rights reserved.
 */
class WelcomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return WelcomeController
     */
    public function __construct()
    {

    }

    /**
     * 首页
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $country = app('cmp')->dict->country;
        $title = app('cmp')->dict->title;

        $data = $title->items();

        dd($data);

        return $data;
    }
}